#! /bin/bash

cd /home/fast/code/node/fast_backend/webconsole
rm server

/usr/local/go/bin/go build server.go

cd /home/fast/fast_backend/webconsole
rm server

cp /home/fast/code/node/fast_backend/webconsole/server ./

systemctl restart fast_backend.service
echo "节点更新完成"
